package com.loveazure.ui.action;

import java.awt.event.ActionEvent;

import com.loveazure.ui.LearnPanel;
import com.loveazure.ui.LearnPanel.action_status;

public class ResultRightAction extends LearnPanelAction {
	private static final String RESULT_RIGHT = "正确";

	/**
	 * 
	 */
	private static final long serialVersionUID = 3916703302877000784L;

	public ResultRightAction(LearnPanel panel) {
		super(panel,RESULT_RIGHT);
		this.panel = panel;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		panel.processWordResult(5);
		panel.displayNewWord();
		panel.switchStatus(action_status.impress);
	}
}
